package com.make.house.api.controller.reponse.upload;


import com.make.house.api.model.Bean;

/**
 * Created by yll on 2017/11/7.
 * 登录注册成功返回对象bean
 */

public class FileUploadResponseBean implements Bean {

    private FileUploadResponseDataBean image;
    private FileUploadResponseDataBean file;

    public FileUploadResponseDataBean getImage() {
        return image;
    }

    public void setImage(FileUploadResponseDataBean image) {
        this.image = image;
    }

    public FileUploadResponseDataBean getFile() {
        return file;
    }

    public void setFile(FileUploadResponseDataBean file) {
        this.file = file;
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public static final class Builder {
        private FileUploadResponseBean instance;

        private Builder() {
            this.instance = new FileUploadResponseBean();
        }

        public Builder withImage(FileUploadResponseDataBean image) {
            this.instance.setImage(image);
            return this;
        }

        public Builder withFile(FileUploadResponseDataBean file) {
            this.instance.setFile(file);
            return this;
        }

        public FileUploadResponseBean build() {
            return this.instance;
        }
    }
}
